.tabPaneLabel {
    width: 80px;
    text-align: center;
}
.materialTableWrap {
    :global {
        .ant-table-tbody {
            > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td {
                background-color: transparent;
            }
            > tr > td.fileColumn .file:hover {
                background-color: rgba(255, 158, 0, 0.1) !important;
                color: #ffa22d;
                .deleteFile {
                    visibility: visible;
                }
            }
            > tr > td {
                padding: 0;
                .padding-16 {
                    padding: 16px;
                }
            }
        }
    }
}
.recordItem {
    margin: 0 16px 16px;
    :global {
        .ant-card-head {
            background-color: #fafafa;
        }
    }
    &:hover {
        transition: all 0.2s;
        box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
    }
    .recordItemRow {
        line-height: 22px;
        padding: 9px 0;
    }
    .recordItemLabel {
        color: #aaa;
    }
    .recordItemValue {
        color: #000;
        word-break: break-all;
    }
    .recordItemStatus {
        margin-top: 10px;
        background-color: #ecfff7;
        color: #44c69d;
        border-radius: 4px;
        line-height: 46px;
        font-size: 14px;
        padding: 0 16px;
    }
}

.filesWrapper {
    :global {
        .file {
            display: flex;
            padding: 16px;
            border-bottom: 1px solid #e8e8e8;
            &:last-child {
                border-bottom: none;
            }
            .fileName {
                display: inline-block;
                max-width: 300px;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
            }
            .preview {
                cursor: pointer;
                font-size: 16px;
                margin-left: 10px;
            }
            &:hover {
                background-color: rgba(255, 158, 0, 0.1) !important;
                color: #ffa22d;
            }
        }
    }
}

.paperMaterialsTable {
    :global {
        .ant-table-tbody {
            > tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected) > td {
                background-color: transparent;
            }
            .fileColumn {
                padding: 0;
                .noFile {
                    color: #a8a8a8;
                    padding: 0 16px;
                }
                .materialList {
                    color: rgba(0, 0, 0, 0.65);
                    padding: 10px 16px;
                    max-width: 300px;
                    line-height: 1.5em;
                    word-break: break-all;
                    white-space: pre-wrap;
                }
            }
        }
    }
}

.uploadButton {
    font-size: 18px;
    color: #666;
    &:hover {
        cursor: pointer;
        color: #ffa22d;
    }
}
